<?php

session_start();

include "webmaster_connect.php";

$page_permission = 2;

include "webmaster_check_login.php";

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<style type="text/css">
body {
	background-image: url(../images/wood.jpg);
	background-repeat: repeat-x;
	margin: 0px;
	background-position: left top;
	background-attachment: fixed;
	background-color: #000000;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
</style>
<link href="../css/webmaster_add_products.css" rel="stylesheet" type="text/css" />
</head>

<body>

<div id="page_container">

<?php 

include "../admin_files/webmaster_header.php";
include "../admin_files/webmaster_navigation.php" 

?>

	<div id="content_container">

	<h1>Add products:</h1>

	<form action="webmaster_process_add_product.php" method="post" name="add_product" id="add_product">

	<h2>Product catagories</h2>

	<select name="product_type">
		<option value="saddle">Saddle</option>
	</select>

	<select name="product_catagory">
		<option value="used_saddles">Used Saddles</option>
	</select>

	<select name="product_sub_catagory">
		<option value="jump_saddle">Jump Saddle</option>
  		<option value="gp_saddle">General Purpose Saddle</option>
  		<option value="event_saddle">Event Saddle</option>
  		<option value="show_saddle">Show Saddle</option>
	</select>

	<h2>Product details</h2>

	<input name="Product_name" type="text" placeholder = "Product name"/>
	<input name="Product_status" type="text" value = "Available"/>
	<input name="Product_cost" type="text" placeholder = "£000.00"/>
	<textarea class="description_box" name="product_description" cols="" rows="" placeholder = "Product description"></textarea>

	<h2>Product additional information</h2>
	
	<input name="Product_make" type="text" placeholder = "Product make"/>
	<input name="Product_colour" type="text" placeholder = "Product colour"/>
	<input name="Product_size" type="text" placeholder = "Product size"/>
	<input name="Product_offer" type="hidden" placeholder = "Product offer"/>
	<input name="add_button" type="submit" value="Add product" />

	</form>

	</div>
	<!--content_container-->

</div> 
<!--page_container-->

</body>
</html>

